export default function (val) {
   let type_of = typeof val;
   type_of = type_of.toLocaleLowerCase();
   if ("object" === type_of) {
      let call = Object.prototype.toString.call(val);
      call = (call.toLocaleLowerCase()).substring(8, call.length - 1);
      return call;
   } else {
      return type_of;
   }
}